package com.ricky.spring.demo;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;

@EnableApolloConfig
@SpringBootApplication
public class SpringDemoApplication {

    public static void main(String[] args) {
        System.setProperty("env", "PRO");
        SpringApplication.run(SpringDemoApplication.class, args);
    }

}
